﻿namespace MDXStudio.MdSchema
{
    using System;
    using System.Collections.Generic;

    internal class IMdObjectCaptionComparer<T> : IComparer<T> where T: IMdObject
    {
        int IComparer<T>.Compare(T x, T y)
        {
            return string.Compare(x.Caption, y.Caption, true);
        }
    }
}

